/*
 * 
 * Created on Jul 18, 2005
 */
package com.wgo.bpot.common.transport.exception.db;


/**
 * 
 * @author Petter L. H. Eide
 */
public class DatabaseException extends RuntimeException {


	private static final long serialVersionUID = -619363961448223265L;

	private static final String META = "Server database-error";

    public DatabaseException() {
        super();
    }

    /**
     * @param message
     */
    public DatabaseException(String message) {
        super(META + ": "  + message);
    }

    public DatabaseException(Exception e) {
        super(META, e);
    }
    
    public DatabaseException(String message, Throwable e) {
        super(META + ": " + message, e);
    }

	public DatabaseException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}
    
    
}
